load("//bzl:cpp_unittest.bzl", "cpp_unittest")

cpp_unittest(
    name = "PriorityUnboundedBlockingQueueTest",
    srcs = ["PriorityUnboundedBlockingQueueTest.cpp"],
    deps = [
        "//folly/container:enumerate",
        "//folly/executors/task_queue:priority_unbounded_blocking_queue",
        "//folly/portability:gtest",
        "//folly/synchronization:baton",
    ],
)

cpp_unittest(
    name = "UnboundedBlockingQueueTest",
    srcs = ["UnboundedBlockingQueueTest.cpp"],
    deps = [
        "//folly/executors/task_queue:unbounded_blocking_queue",
        "//folly/portability:gtest",
        "//folly/synchronization:baton",
    ],
)

cpp_unittest(
    name = "PriorityLifoSemMPMCQueueTest",
    srcs = ["PriorityLifoSemMPMCQueueTest.cpp"],
    deps = [
        "//folly:range",
        "//folly/container:enumerate",
        "//folly/executors/task_queue:priority_lifo_sem_mpmc_queue",
        "//folly/portability:gtest",
    ],
)
